package org.jeecg.modules.travel.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.travel.entity.JhNoticeBar;
import org.jeecg.modules.travel.vo.noticeBar.AppNoticeBarRecordVo;
import org.jeecg.modules.travel.vo.noticeBar.PcNoticeBarRecordVo;

import java.util.List;

public interface JhNoticeBarMapper extends BaseMapper<JhNoticeBar> {
    IPage<PcNoticeBarRecordVo> queryPage(Page<JhNoticeBar> page, @Param(Constants.WRAPPER) QueryWrapper<JhNoticeBar> queryWrapper);

    IPage<AppNoticeBarRecordVo> appQueryList(Page<JhNoticeBar> page, @Param(Constants.WRAPPER) QueryWrapper<JhNoticeBar> queryWrapper);
}
